home *** CD-ROM | disk | FTP | other *** search
/ BigMax 6 / BigMax nº 6 [rebuilt].iso / DEMOS / FOFAO / A40.DXR / 00056_ultimo score (inicio).ls < prev    next >
Encoding:
Text File  |  1996-11-20  |  2.7 KB  |  87 lines

  1. on exitFrame
  2.   go("inicio")
  3.   mexeicones()
  4.   barra()
  5.   set the puppet of sprite 21 to 1
  6.   set the visible of sprite 21 to 0
  7. end
  8.  
  9. on barra
  10.   go("inicio")
  11.   if rollOver(23) then
  12.     if the locV of sprite 23 = 600 then
  13.       repeat with i = 1 to 14
  14.         set the puppet of sprite 23 to 1
  15.         set the locV of sprite 23 to the locV of sprite 23 - i
  16.         set the puppet of sprite 24 to 1
  17.         set the locV of sprite 24 to the locV of sprite 24 - i
  18.         set the puppet of sprite 25 to 1
  19.         set the locV of sprite 25 to the locV of sprite 25 - i
  20.         set the puppet of sprite 26 to 1
  21.         set the locV of sprite 26 to the locV of sprite 26 - i
  22.         set the puppet of sprite 27 to 1
  23.         set the locV of sprite 27 to the locV of sprite 27 - i
  24.         set the puppet of sprite 28 to 1
  25.         set the locV of sprite 28 to the locV of sprite 28 - i
  26.         updateStage()
  27.       end repeat
  28.     end if
  29.   else
  30.     if the locV of sprite 23 < 586 then
  31.       repeat with i = 1 to 14
  32.         set the puppet of sprite 23 to 1
  33.         set the locV of sprite 23 to the locV of sprite 23 + i
  34.         set the puppet of sprite 24 to 1
  35.         set the locV of sprite 24 to the locV of sprite 24 + i
  36.         set the puppet of sprite 25 to 1
  37.         set the locV of sprite 25 to the locV of sprite 25 + i
  38.         set the puppet of sprite 26 to 1
  39.         set the locV of sprite 26 to the locV of sprite 26 + i
  40.         set the puppet of sprite 27 to 1
  41.         set the locV of sprite 27 to the locV of sprite 27 + i
  42.         set the puppet of sprite 28 to 1
  43.         set the locV of sprite 28 to the locV of sprite 28 + i
  44.         updateStage()
  45.       end repeat
  46.     end if
  47.   end if
  48. end
  49.  
  50. on mexeicones
  51.   if rollOver(24) then
  52.     set the puppet of sprite 24 to 1
  53.     set the castNum of sprite 24 to cast "regra1"
  54.   else
  55.     set the puppet of sprite 24 to 1
  56.     set the castNum of sprite 24 to cast "regra"
  57.   end if
  58.   if rollOver(25) then
  59.     set the puppet of sprite 25 to 1
  60.     set the castNum of sprite 25 to cast "sair"
  61.   else
  62.     set the puppet of sprite 25 to 1
  63.     set the castNum of sprite 25 to cast "sair1"
  64.   end if
  65.   if rollOver(26) then
  66.     set the puppet of sprite 26 to 1
  67.     set the castNum of sprite 26 to cast "voltar1"
  68.   else
  69.     set the puppet of sprite 26 to 1
  70.     set the castNum of sprite 26 to cast "voltar"
  71.   end if
  72.   if rollOver(27) then
  73.     set the puppet of sprite 27 to 1
  74.     set the castNum of sprite 27 to cast "repetir"
  75.   else
  76.     set the puppet of sprite 27 to 1
  77.     set the castNum of sprite 27 to cast "repetir1"
  78.   end if
  79.   if rollOver(28) then
  80.     set the puppet of sprite 28 to 1
  81.     set the castNum of sprite 28 to cast "explicar"
  82.   else
  83.     set the puppet of sprite 28 to 1
  84.     set the castNum of sprite 28 to cast "explicar1"
  85.   end if
  86. end
  87.